/*
    Mango - Open Source M2M - http://mango.serotoninsoftware.com
    Copyright (C) 2006-2011 Serotonin Software Technologies Inc.
    @author Matthew Lohbihler
    
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/
html > body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #000000;
	background-color: #FFFFFF;
	margin: 0px;
	padding: 0px;
}
a, a:visited, a:link, .link {
	color: #804000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	text-decoration: underline;
	font-size: 11px;
}
a:hover {
	color: #F07800;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	text-decoration: underline;
	font-size: 11px;
}
a.titleLink, a.titleLink:visited, a.titleLink:link {
	font-size: 11px;
	font-weight: bold;
}
a.titleLink:hover {
	font-size: 11px;
	font-weight: bold;
}
.bigTitle {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #333333;
	font-size: 16px;
	font-weight: bold;
}
.smallTitle {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #804000;
	font-size: 13px;
	font-weight: bold;
}
.titlePadding {
	padding:3px 3px 0px 3px;
}
.copyTitle {
	color: #804000;
	font-size: 10px;
}
.bodyCopy {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #333333;
	font-size: 11px;
}
.footer {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #333333;
	font-size: 9px;
}
.ptr {
	cursor: pointer;
}


/**
 * Header styles
 */
#__header__alarmLevelText {
	font-weight: bold;
	font-size: 14px;
}
#mainHeader {
	padding-top: 5px;
	background-color: #FFFFFF;
}
#subHeader {
	background-color: #F0F0F0;
	padding: 3px;
}


/**
 * List cell styles.
 */
.rowHeader td, .smRowHeader td, .row td, .smRow td, .rowAlt td, .smRowAlt td, .rowAlt2 td {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
}
.rowHeader td, .smRowHeader td {
	font-weight: bold;
	color: #FFFFFF;
	background-color: #F07800;
	text-align: center;
    white-space: nowrap;
}
.rowHeader td {
	padding: 3px 10px 3px 10px;
}
.smRowHeader td {
	padding: 2px 3px 2px 3px;
}
a.rowHeaderLink, a.rowHeaderLink:visited, a.rowHeaderLink:link, a.rowHeaderLink:hover {
	color: #FFFFFF;
	text-decoration: underline;
}
.row td, .smRow td, .rowAlt td, .smRowAlt td, .rowAlt2 td {
	color: #000000;
}
.row td, .rowAlt td, .rowAlt2 td {
	padding: 3px;
}
.smRow td, .smRowAlt td {
	padding: 0px 3px 0px 3px;
}
.row td, .smRow td {
	background-color: #F0F0F0;
}
.rowAlt td, .smRowAlt td {
	background-color: #DCDCDC;
}
.rowAlt2 td {
	background-color: #FFFFFF;
}

.borderDiv, .borderDivPadded {
	border: 1px solid #F07800;
}
.borderDivPadded {
	padding: 3px;
}
.marR {
	margin-right: 5px;
}
.marB {
	margin-bottom: 5px;
}



/**
 * Form styles
 */
.formLabel, .formLabelRequired, .formField, .formError, select, input, textarea {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
}
.formLabel, .formLabelRequired {
	color: #333333;
	padding-right: 10px;
	text-align: right;
	white-space: nowrap;
	padding-top: 5px;
	vertical-align: top;
}
.formLabelRequired, .formError {
	font-weight: bold;
}
.formField {
	padding: 2px;
	color: #333333;
}
.formError {
	color: #FF0000;
	padding-left: 10px;
}
select, input, textarea {
	color: #333333;
	border: 1px solid #F07800;
	padding: 2px;
}
input[type="checkbox"], input[type="radio"] {
	color: #F07800;
	border: 0;
}
.formVeryShort {
	width: 30px;
}
.formShort {
	width: 50px;
}
.formLong {
	width: 250px;
}
.formDisabled {
	border: 1px solid #D0D0D0;
}
input[type="submit"], input[type="button"] {
	overflow: visible;
}



/**
 * View styles
 */
.controlsDiv {
    position: absolute;
    visibility: hidden;
    left: 0;
    top: -1px;
    z-index: 1;
    margin: 1px 0px 1px 0px;
    padding: 0;
    background-color: #FFFFFF;
}
.controlsDiv table {
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #FFFFFF;
}
.controlsDiv td {
    list-style: none;
    margin: 1px;
    padding: 0;
    background-color: #F8BB00;
    width: 16px;
    height: 16px;
}
.controlsDiv td div, .controlContent {
    padding: 1px 5px 1px 5px;
    margin: 0px;
    background: #F8BB00;
    white-space: nowrap;
    text-align: left;
	font-size: 10px;
	font-weight: normal;
    border: 1px solid #F07800;
    position: absolute;
    visibility:hidden;
    left: 15px;
    top: 0px;
}

.labelDiv, .windowDiv {
    position:absolute;
    padding:1px 5px 1px 5px;
    margin:0px;
    background:#F8BB00;
    white-space:nowrap;
    text-align:left;
	font-size: 10px;
	font-weight: normal;
	z-index: 20;
}
.labelDiv {
    border:1px solid #F07800;
}
.windowDiv {
    border:1px outset #F07800;
}
.labelDiv a, .windowDiv a {
	font-size: 10px;
}
.imageDiv {
    z-index:10;
    left:18px;
    position:absolute;
    padding:0px;
    margin:0px;
    background:#F8BB00;
    white-space:nowrap;
    border:1px solid #F07800;
}
.ovrflw {
    background:inherit;
    background:expression(this.parentNode.style.background);
    color:inherit;
    color:expression(this.parentNode.style.color);
    font:inherit;
    font:expression(this.parentNode.style.font);
    width:300px;
   	border-width:0 1px 0 1px;
   	border-style:solid;
   	border-color:#F07800;
}
#viewContent {
	position:relative;
	margin: 0px;
	padding: 0px;
}
#viewContent img {
	display: block;
	margin: 0px;
	padding: 0px;
}
.componentMin {
	background-color: #F8BB00;
    top:0px;
    left:0px;
    margin:0px;
    padding:0px;
    width:16px;
    height:16px;
}
.componentInput {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #333333;
	border: 1px solid #F07800;
	padding: 1px;
}
.simpleRenderer, .simpleRenderer2 {
    border:1px solid #F07800;
    padding:1px 5px 1px 5px;
    margin:0px;
    background:#F8BB00;
    white-space:nowrap;
    text-align:left;
	font-size: 10px;
	font-weight: normal;
}
.simpleRenderer {
	line-height:16px;
}
.infoData {
	color: #FF0000;
}
.horzSeparator {
	height: 1px;
	background: #699D2E;
	padding: 0px;
}
.viewChangeBkgd {
	background: #D8E2CC;
}


/**
 * Absmiddle workaround
 */
span.absmiddle img {
	padding: 0;
	margin: 0;
	vertical-align: middle;
/*	display: inline-block; */
	display: inline;
}


/**
 * Documentation float pane style overrides.
 */
html > body .dojoFloatingPaneTitleBar {
    background-color: #6D933E;
}
html > body .dojoFloatingPaneCloseIcon {
    background-image: url(../images/cross_doc.png);
    cursor: pointer;
}
html > body .dojoFloatingPaneClient {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
}
html > body .dojoFloatingPaneClient p, #help p {
	padding: 0px;
	margin: 0px 0px 10px 0px;
}
#help h1 {
	color: #804000;
	font-size: 15px;
	font-weight: bold;
	padding: 0px;
	margin: 20px 0px 10px 0px;
}
html > body .dojoFloatingPaneClient h1, #help h2 {
	padding: 0px;
	margin: 0px 0px 10px 0px;
	font-size: 13px;
	font-weight: bold;
}
html > body .dojoFloatingPaneClient img, #help img {
	vertical-align: bottom;
}

/**
 * Common tree styling
 */
html > body .dojoTreeNodeLabelSelected {
    background-color: #F07800;
    color: #FFFFFF;
    padding: 2px 3px 3px 2px;
}


/**
 * Styles for weekly 15 minute interval schedules.
 */
.qoff {
    /*background-color: #B4CE96;*/
    background-color: #FF4000;
}
.qon {
    /*background-color: #699D2E;*/
    background-color: #B4CE96;
}

.qreg {
    border: 1px solid #699D2E;
}
.qhlt {
    border: 1px solid #FF9D2E;
}

.hreg {
    border: 1px solid #FFFFFF;
}
.hhlt {
    border: 1px solid #FF9D2E;
}
